scores = [90,91.87,97]

def average(*args):
    return sum(args)/len(args)
#*scores会对这个列表或者元组进行解包
print(average(2,4,6))
print(average(*scores))

def show_info(**kwargs):
    print(kwargs)
    
stu = {
    'name':'lkj',
    "score":54
}
show_info(name='fg',age=3)
#**stu会对stu进行解包
show_info(**stu)